Part Number Hot Search : 
SPL9066 5ETTT C2320 BR5001 TS272IBN MK325B PJSD24TS ANTXV2N
Product Description
Full Text Search
 

To Download SC16C654DIB64 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Rev. 04 -- 19 June 2003 Product data
1. Description
The SC16C654/654D is a 4-channel Universal Asynchronous Receiver and Transmitter (QUART) used for serial data communications. Its principal function is to convert parallel data into serial data and vice versa. The UART can handle serial data rates up to 5 Mbits/s. It comes with an Intel or Motorola interface. The SC16C654/654D is pin compatible with the ST16C654 and TL16C754 and it will power-up to be functionally equivalent to the 16C454. Programming of control registers enables the added features of the SC16C654/654D. Some of these added features are the 64-byte receive and transmit FIFOs, automatic hardware or software flow control and Infrared encoding/decoding. The selectable auto-flow control feature significantly reduces software overload and increases system efficiency while in FIFO mode by automatically controlling serial data flow using RTS output and CTS input signals. The SC16C654/654D also provides DMA mode data transfers through FIFO trigger levels and the TXRDY and RXRDY signals. On-board status registers provide the user with error indications, operational status, and modem interface control. System interrupts may be tailored to meet user requirements. An internal loop-back capability allows on-board diagnostics. The SC16C654/654D operates at 5 V, 3.3 V and 2.5 V, and the industrial temperature range, and is available in plastic PLCC68 and LQFP64 packages.
2. Features
s 5 V, 3.3 V and 2.5 V operation s Industrial temperature range s Pin compatibility with the industry-standard ST16C454/554, ST68C454/554, TL16C554 s Up to 5 Mbits/s data rate at 5 V and 3.3 V and 3 Mbits/s at 2.5 V s 64-byte transmit FIFO s 64-byte receive FIFO with error flags s Automatic software/hardware flow control s Programmable Xon/Xoff characters s Software selectable Baud Rate Generator s Four selectable Receive and Transmit FIFO interrupt trigger levels s Standard modem interface or infrared IrDA encoder/decoder interface s Sleep mode s Standard asynchronous error and framing bits (Start, Stop, and Parity Overrun Break) s Transmit, Receive, Line Status, and Data Set interrupts independently controlled
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
s Fully programmable character formatting: x 5-, 6-, 7-, or 8-bit characters x Even-, Odd-, or No-Parity formats x 1-, 112-, or 2-stop bit x Baud generation (DC to 1.5 Mbit/s) s False start-bit detection s Complete status reporting capabilities s 3-State output TTL drive capabilities for bi-directional data bus and control bus s Line Break generation and detection s Internal diagnostic capabilities: x Loop-back controls for communications link fault isolation s Prioritized interrupt system controls s Modem control functions (CTS, RTS, DSR, DTR, RI, DCD).
3. Ordering information
Table 1: Ordering information Package Name SC16C654IA68 SC16C654IB64 SC16C654DIB64 PLCC68 LQFP64 LQFP64 Description plastic leaded chip carrier; 68 leads plastic low profile quad flat package; 64 leads; body 10 x 10 x 1.4 mm plastic low profile quad flat package; 64 leads; body 10 x 10 x 1.4 mm Version SOT188-2 SOT314-2 SOT314-2 Type number
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
2 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
4. Block diagram
SC16C654/654D
TRANSMIT FIFO REGISTERS D0-D7 IOR IOW RESET DATA BUS AND CONTROL LOGIC FLOW CONTROL LOGIC
TRANSMIT SHIFT REGISTER
TXA-TXD
IR ENCODER
INTERCONNECT BUS LINES AND CONTROL SIGNALS
RECEIVE FIFO REGISTERS
RECEIVE SHIFT REGISTER
RXA-RXD
A0-A2 CSA-CSD
REGISTER SELECT LOGIC
FLOW CONTROL LOGIC
IR DECODER
16/68 DTRA-DTRD RTSA-RTSD
INTA-INTD TXRDY RXRDY INTERRUPT CONTROL LOGIC INTSEL
MODEM CONTROL LOGIC CLOCK AND BAUD RATE GENERATOR
CTSA-CTSD RIA-RID CDA-CDD DSRA-DSRD
002aaa206
XTAL1
XTAL2
CLKSEL
Fig 1. SC16C654/654D block diagram (16 mode).
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
3 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
SC16C654/654D
TRANSMIT FIFO REGISTERS D0-D7 R/W RESET DATA BUS AND CONTROL LOGIC FLOW CONTROL LOGIC
TRANSMIT SHIFT REGISTER
TXA-TXD
IR ENCODER
INTERCONNECT BUS LINES AND CONTROL SIGNALS
RECEIVE FIFO REGISTERS
RECEIVE SHIFT REGISTER
RXA-RXD
A0-A4 CS
REGISTER SELECT LOGIC
FLOW CONTROL LOGIC
IR DECODER
16/68
DTRA-DTRD RTSA-RTSD
MODEM CONTROL LOGIC IRQ TXRDY RXRDY INTERRUPT CONTROL LOGIC CLOCK AND BAUD RATE GENERATOR
CTSA-CTSD RIA-RID CDA-CDD DSRA-DSRD
002aaa207
XTAL1
XTAL2
CLKSEL
Fig 2. SC16C654/654D block diagram (68 mode).
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
4 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
5. Pinning information
5.1 Pinning
5.1.1 PLCC68
65 INTSEL
GND
61 CDD
CDA
63 RXD
64 VCC
RXA
62 RID
RIA
D7
D6
D5
D4
D3
68 D2
67 D1
66 D0
9
8
7
6
5
4
3
2
1
DSRA 10 CTSA 11 DTRA 12 VCC 13 RTSA 14 INTA 15 CSA 16 TXA 17 IOW 18 TXB 19 CSB 20 INTB 21 RTSB 22 GND 23 DTRB 24 CTSB 25 DSRB 26
60 DSRD 59 CTSD 58 DTRD 57 GND 56 RTSD 55 INTD 54 CSD 53 TXD
SC16C654IA68 16 MODE
52 IOR 51 TXC 50 CSC 49 INTC 48 RTSC 47 VCC 46 DTRC 45 CTSC 44 DSRC
CDB 27
RIB 28
RXB 29
CLKSEL 30
16/68 31
A2 32
A1 33
A0 34
XTAL1 35
XTAL2 36
RESET 37
RXRDY 38
TXRDY 39
GND 40
RXC 41
RIC 42
CDC 43
002aaa203
Fig 3. PLCC68 pin configuration (16 mode).
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
5 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
GND
61 CDD
64 VCC
CDA
63 RXD
RXA
62 RID
RIA
65 NC
D7
D6
D5
D4
D3
68 D2
67 D1
66 D0
9
8
7
6
5
4
3
2
1
DSRA 10 CTSA 11 DTRA 12 VCC 13 RTSA 14 IRQ 15 CS 16 TXA 17 R/W 18 TXB 19 A3 20 NC 21 RTSB 22 GND 23 DTRB 24 CTSB 25 DSRB 26
60 DSRD 59 CTSD 58 DTRD 57 GND 56 RTSD 55 NC 54 NC 53 TXD
SC16C654IA68 68 MODE
52 NC 51 TXC 50 A4 49 NC 48 RTSC 47 VCC 46 DTRC 45 CTSC 44 DSRC
CDB 27
RIB 28
RXB 29
CLKSEL 30
16/68 31
A2 32
A1 33
A0 34
XTAL1 35
XTAL2 36
RESET 37
RXRDY 38
TXRDY 39
GND 40
RXC 41
RIC 42
CDC 43
002aaa205
Fig 4. PLCC68 pin configuration (68 mode).
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
6 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
5.1.2
LQFP64
61 GND 49 CDD 48 DSRD 47 CTSD 46 DTRD 45 GND 44 RTSD 43 INTD 42 CSD 41 TXD 40 IOR 39 TXC 38 CSC 37 INTC 36 RTSC 35 VCC 34 DTRC 33 CTSC DSRB 17 CDB 18 RIB 19 RXB 20 VCC 21 A2 22 A1 23 A0 24 XTAL1 25 XTAL2 26 RESET 27 GND 28 RXC 29 RIC 30 CDC 31 DSRC 32
002aaa204
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
64 CDA
51 RXD
52 VCC
62 RXA
DSRA 1 CTSA 2 DTRA 3 VCC 4 RTSA 5 INTA 6 CSA 7 TXA 8 IOW 9 TXB 10 CSB 11 INTB 12 RTSB 13 GND 14 DTRB 15 CTSB 16
SC16C654IB64 SC16C654DIB64
Fig 5. LQFP64 pin configuration.
5.2 Pin description
Table 2: Symbol 16/68 Pin description Pin PLCC68 LQFP64 31 Type I Description 16/68 Interface type select (input with internal pull-up). This input provides the 16 (Intel) or 68 (Motorola) bus interface type select. The functions of IOR, IOW, INTA-INTD, and CSA-CSD are re-assigned with the logical state of this pin. When this pin is a logic 1, the 16 mode interface (16C654) is selected. When this pin is a logic 0, the 68 mode interface (68C654) is selected. When this pin is a logic 0, IOW is re-assigned to R/W, RESET is re-assigned to RESET, IOR is not used, and INTA-INTD are connected in a wire-OR configuration. The wire-OR outputs are connected internally to the open drain IRQ signal output. This pin is not available on 64-pin packages which operate in the 16 mode only. Address 0 select bit. Internal registers address selection in 16 and 68 modes. Address 1 select bit. Internal registers address selection in 16 and 68 modes. Address 2 select bit. Internal registers address selection in 16 and 68 modes.
A0 A1 A2
9397 750 11617
34 33 32
24 23 22
I I I
Product data
Rev. 04 -- 19 June 2003
50 RID
63 RIA
60 D7
59 D6
58 D5
57 D4
56 D3
55 D2
54 D1
53 D0
7 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Table 2: Symbol A3, A4
Pin description...continued Pin PLCC68 LQFP64 20, 50 Type I Description Address 3-4 select bits. When the 68 mode is selected, these pins are used to address or select individual UARTs (providing CS is a logic 0). In the 16 mode, these pins are re-assigned as chip selects, see CSB and CSC. These pins are not available on 64-pin packages which operate in the 16 mode only. Carrier Detect (Active-LOW). These inputs are associated with individual UART channels A through D. A logic 0 on this pin indicates that a carrier has been detected by the modem for that channel. Clock Select. The 1x or 4x pre-scalable clock is selected by this pin. The 1x clock is selected when CLKSEL is a logic 1 (connected to VCC) or the 4x is selected when CLKSEL is a logic 0 (connected to GND). MCR[7] can override the state of this pin following reset or initialization (see MCR[7]). This pin is not available on 64-pin packages which provide MCR[7] selection only. Chip Select (Active-LOW). In the 68 mode, this pin functions as a multiple channel chip enable. In this case, all four UARTs (A-D) are enabled when the CS pin is a logic 0. An individual UART channel is selected by the data contents of address bits A3-A4. when the 16 mode is selected (68-pin devices), this pin functions as CSA (see definition under CSA, CSB). This pin is not available on 64-pin packages which operate in the 16 mode only. Chip Select A, B, C, D (Active-LOW). This function is associated with the 16 mode only, and for individual channels `A' through `D'. When in 16 mode, these pins enable data transfers between the user CPU and the SC16C654/654D for the channel(s) addressed. Individual UART sections (A, B, C, D) are addressed by providing a logic 0 on the respective CSA-CSD pin. When the 68 mode is selected, the functions of these pins are re-assigned. 68 mode functions are described under their respective name/pin headings. Clear to Send (Active-LOW). These inputs are associated with individual UART channels A through D. A logic 0 on the CTS pin indicates the modem or data set is ready to accept transmit data from the SC16C654/654D. Status can be tested by reading MSR[4]. This pin only affects the transmit or receive operations when Auto CTS function is enabled via the Enhanced Feature Register EFR[7] for hardware flow control operation. Data bus (bi-directional). These pins are the 8-bit, 3-State data bus for transferring information to or from the controlling CPU. D0 is the least significant bit and the first data bit in a transmit or receive serial data stream. Data Set Ready (Active-LOW). These inputs are associated with individual UART channels, A through D. A logic 0 on this pin indicates the modem or data set is powered-on and is ready for data exchange with the UART. This pin has no effect on the UART's transmit or receive operation. Data Terminal Ready (Active-LOW). These outputs are associated with individual UART channels, A through D. A logic 0 on this pin indicates that the SC16C654/654D is powered-on and ready. This pin can be controlled via the modem control register. Writing a logic 1 to MCR[0] will set the DTR output to logic 0, enabling the modem. This pin will be a logic 1 after writing a logic 0 to MCR[0], or after a reset. This pin has no effect on the UART's transmit or receive operation. Signal and power ground.
CDA, CDB, CDC, CDD CLKSEL
9, 27, 43, 61 30
64, 18, 31, 49 -
I
I
CS
16
-
I
CSA, CSB, CSC, CSD
16, 20, 50, 54
7, 11, 38, 42
I
CTSA, CTSB, 11, 25, CTSC, CTSD 45, 59
2, 16, 33, 47
I
D0-D2, D3-D7
66-68, 1-5
53-55, 56-60 1, 17, 32, 48
I/O
10, 26, DSRA, 44, 60 DSRB, DSRC, DSRD 12, 24, DTRA, 46, 58 DTRB, DTRC, DTRD
I
3, 15, 34, 46
O
GND
6, 23, 40, 57
14, 28, 45, 61
I
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
8 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Table 2: Symbol
Pin description...continued Pin PLCC68 LQFP64 15, 21, 49, 55 6, 12, 37, 43 Type O Description Interrupt A, B, C, D (Active-HIGH). This function is associated with the 16 mode only. These pins provide individual channel interrupts INTA-INTD. INTA-INTD are enabled when MCR[3] is set to a logic 1, interrupts are enabled in the interrupt enable register (IER), and when an interrupt condition exists. Interrupt conditions include: receiver errors, available receiver buffer data, transmit buffer empty, or when a modem status flag is detected. When the 68 mode is selected, the functions of these pins are re-assigned. 68 mode functions are described under their respective name/pin headings. Interrupt Select (Active-HIGH, with internal pull-down). This function is associated with the 16 mode only. When the 16 mode is selected, this pin can be used in conjunction with MCR[3] to enable or disable the 3-State interrupts, INTA-INTD, or override MCR[3] and force continuous interrupts. Interrupt outputs are enabled continuously by making this pin a logic 1. Making this pin a logic 0 allows MCR[3] to control the 3-State interrupt output. In this mode, MCR[3] is set to a logic 1 to enable the 3-State outputs. This pin is disabled in the 68 mode. Due to pin limitations on the 64-pin packages, this pin is not available. To cover this limitation, the SC16C654DIB64 version operates in the continuous interrupt enable mode by bonding this pin to VCC internally. The SC16C654IB64 operates with MCR[3] control by bonding this pin to GND. Input/Output Read strobe (Active-LOW). This function is associated with the 16 mode only. A logic 0 transition on this pin will load the contents of an internal register defined by address bits A0-A2 onto the SC16C654/654D data bus (D0-D7) for access by external CPU. This pin is disabled in the 68 mode. Input/Output Write strobe (Active-LOW). This function is associated with the 16 mode only. A logic 0 transition on this pin will transfer the contents of the data bus (D0-D7) from the external CPU to an internal register that is defined by address bits A0-A2. When the 16 mode is selected (PLCC68), this pin functions as R/W (see definition under R/W). Interrupt Request or Interrupt `A'. This function is associated with the 68 mode only. In the 68 mode, interrupts from UART channels A-D are wire-ORed internally to function as a single IRQ interrupt. This pin transitions to a logic 0 (if enabled by the interrupt enable register) whenever a UART channel(s) requires service. Individual channel interrupt status can be determined by addressing each channel through its associated internal register, using CS and A3-A4. In the 68 mode, and external pull-up resistor must be connected between this pin and VCC. The function of this pin changes to INTA when operating in the 16 mode (see definition under INTA). Not connected.
INTA, INTB, INTC, INTD
INTSEL
65
-
I
IOR
52
40
I
IOW
18
9
I
IRQ
15
-
O
NC
21, 49, 52, 54, 55, 65 37
-
-
RESET, RESET
27
I
Reset. In the 16 mode, a logic 1 on this pin will reset the internal registers and all the outputs. The UART transmitter output and the receiver input will be disabled during reset time. (See Section 7.11 "SC16C654/654D external reset conditions" for initialization details.) When 16/68 is a logic 0 (68 mode), this pin functions similarly, bus as an inverted reset interface signal, RESET. Ring Indicator (Active-LOW). These inputs are associated with individual UART channels, A through D. A logic 0 on this pin indicates the modem has received a ringing signal from the telephone line. A logic 1 transition on this input pin will generate an interrupt.
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
RIA, RIB, RIC, RID
8, 28, 42, 62
63, 19, 30, 50
I
9397 750 11617
Product data
Rev. 04 -- 19 June 2003
9 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Table 2: Symbol
Pin description...continued Pin PLCC68 LQFP64 5, 13, 36, 44 Type O Description Request to Send (Active-LOW). These outputs are associated with individual UART channels, A through D. A logic 0 on the RTS pin indicates the transmitter has data ready and waiting to send. Writing a logic 1 in the modem control register MCR[1] will set this pin to a logic 0, indicating data is available. After a reset this pin will be set to a logic 1. This pin only affects the transmit and receive operations when Auto RTS function is enabled via the Enhanced Feature Register (EFR[6]) for hardware flow control operation. Read/Write strobe. This function is associated with the 68 mode only. This pin provides the combined functions for Read or Write strobes. Logic 1 = Read from UART register selected by CS and A0-A4. Logic 0 = Write to UART register selected by CS and A0-A4.
RTSA, RTSB, 14, 22, RTSC, RTSD 48, 56
R/W
18
-
I
RXA, RXB, RXC, RXD
7, 29, 41, 63
62, 20, 29, 51
I
Receive data input RXA-RXD. These inputs are associated with individual serial channel data to the SC16C654/654D. The RX signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. During the local loop-back mode, the RX input pin is disabled and TX data is connected to the UART RX input internally. Receive Ready (Active-LOW). This function is associated with 68-pin package only. RXRDY contains the wire-ORed status of all four receive channel FIFOs, RXRDYA-RXRDYD. A logic 0 indicates receive data ready status, i.e., the RHR is full, or the FIFO has one or more RX characters available for unloading. This pin goes to a logic 1 when the FIFO/RHR is empty, or when there are no more characters available in either the FIFO or RHR. Individual channel RX status is read by examining individual internal registers via CS and A0-A4 pin functions. Transmit data A, B, C, D. These outputs are associated with individual serial transmit channel data from the SC16C654/654D. The TX signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. During the local loop-back mode, the TX output pin is disabled and TX data is internally connected to the UART RX input. Transmit Ready (Active-LOW). This function is associated with the 68-pin package only. TXRDY contains the wire-ORed status of all four transmit channel FIFOs, TXRDYA-TXRDYD. A logic 0 indicates a buffer ready status, i.e., at least one location is empty and available in one of the TX channels (A-D). This pin goes to a logic 1 when all four channels have no more empty locations in the TX FIFO or THR. Individual channel TX status can be read by examining individual internal registers via CS and A0-A4 pin functions. Power supply inputs. Crystal or external clock input. Functions as a crystal input or as an external clock input. A crystal can be connected between this pin and XTAL2 to form an internal oscillator circuit (see Figure 6). Alternatively, an external clock can be connected to this pin to provide custom data rates. (See Section 6.11 "Programmable baud rate generator".) Output of the crystal oscillator or buffered clock. (See also XTAL1.) Crystal oscillator output or buffered clock output.
RXRDY
38
-
O
TXA, TXB, TXC, TXD
17, 19, 51, 53
8, 10, 39, 41
O
TXRDY
39
-
O
VCC XTAL1
13, 47, 64 35
4, 21, 35, 52 25
I I
XTAL2
36
26
O
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
10 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
6. Functional description
The SC16C654/654D provides serial asynchronous receive data synchronization, parallel-to-serial and serial-to-parallel data conversions for both the transmitter and receiver sections. These functions are necessary for converting the serial data stream into parallel data that is required with digital data systems. Synchronization for the serial data stream is accomplished by adding start and stop bits to the transmit data to form a data character. Data integrity is insured by attaching a parity bit to the data character. The parity bit is checked by the receiver for any transmission bit errors. The electronic circuitry to provide all these functions is fairly complex, especially when manufactured on a single integrated silicon chip. The SC16C654/654D represents such an integration with greatly enhanced features. The SC16C654/654D is fabricated with an advanced CMOS process to achieve low drain power and high speed requirements. The SC16C654/654D is an upward solution that provides 64 bytes of transmit and receive FIFO memory, instead of 16 bytes provided in the 16C554, or none in the 16C454. The SC16C654/654D is designed to work with high speed modems and shared network environments that require fast data processing time. Increased performance is realized in the SC16C654/654D by the larger transmit and receive FIFOs. This allows the external processor to handle more networking tasks within a given time. For example, the SC16C554 with a 16-byte FIFO unloads 16 bytes of receive data in 1.53 ms. (This example uses a character length of 11 bits, including start/stop bits at 115.2 kbit/s.) This means the external CPU will have to service the receive FIFO at 1.53 ms intervals. However, with the 64-byte FIFO in the SC16C654/654D, the data buffer will not require unloading/loading for 6.1 ms. This increases the service interval, giving the external CPU additional time for other applications and reducing the overall UART interrupt servicing time. In addition, the four selectable levels of FIFO trigger interrupt and automatic hardware/software flow control is uniquely provided for maximum data throughput performance, especially when operating in a multi-channel environment. The combination of the above greatly reduces the bandwidth requirement of the external controlling CPU, increases performance, and reduces power consumption. The SC16C654/654D combines the package interface modes of the 16C454/554 and 68C454/554 series on a single integrated chip. The 16 mode interface is designed to operate with the Intel-type of microprocessor bus, while the 68 mode is intended to operate with Motorola and other popular microprocessors. Following a reset, the SC16C654/654D is downward compatible with the 16C454/554 or the 68C454/554, dependent on the state of the interface mode selection pin, 16/68. The SC16C654/654D is capable of operation to 1.5 Mbits/s with a 24 MHz crystal and up to 5 Mbits/s with an external clock input (at 3.3 V and 5 V; at 2.5 V the max speed is 3 Mbits/s). With a crystal of 14.7464 MHz, and through a software option, the user can select data rates up to 460.8 kbits/s or 921.6 kbits/s, 8 times faster than the 16C554. The rich feature set of the SC16C654/654D is available through internal registers. Automatic hardware/software flow control, selectable transmit and receive FIFO trigger levels, selectable TX and RX baud rates, infrared encoder/decoder interface, modem interface controls, and a sleep mode are all standard features. MCR[5] provides a facility for turning off (Xon) software flow control with any incoming (RX)
9397 750 11617 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
11 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
character. In the 16 mode, INTSEL and MCR[3] can be configured to provide a software controlled or continuous interrupt capability. Due to pin limitations of the 64-pin package, this feature is offered by two different LQFP64 packages. The SC16C654D operates in the continuous interrupt enable mode by bonding INTSEL to VCC internally. The SC16C654 operates in conjunction with MCR[3] by bonding INTSEL to GND internally. The PLCC68 SC16C654 package offers a clock select pin to allow system/board designers to preset the default baud rate table. The CLKSEL pin selects the 1x or 4x pre-scalable baud rate generator table during initialization, but can be overridden following initialization by MCR[7].
6.1 Interface options
Two user interface modes are selectable for the PLCC68 package. These interface modes are designated as the `16 mode' and the `68 mode'. This nomenclature corresponds to the early 16C454/554 and 68C454/554 package interfaces respectively.
6.2 The 16 mode interface
The 16 mode configures the package interface pins for connection as a standard 16 series (Intel) device and operates similar to the standard CPU interface available on the 16C454/554. In the 16 mode (pin 16/68 = logic 1), each UART is selected with individual chip select (CSx) pins, as shown in Table 3.
Table 3: CSA 1 0 1 1 1 Serial port channel selection, 16 mode interface CSB 1 1 0 1 1 CSC 1 1 1 0 1 CSD 1 1 1 1 0 UART channel none A B C D
6.3 The 68 mode interface
The 68 mode configures the package interface pins for connection with Motorola, and other popular microprocessor bus types. The interface operates similar to the 68C454/554. In this mode, the SC16C654/654D decodes two additional addresses, A3-A4, to select one of the four UART ports. The A3-A4 address decode function is used only when in the 68 mode (16/68 = logic 0), and is shown in Table 4.
Table 4: CS 1 0 0 0 0 Serial port channel selection, 68 mode interface A4 n/a 0 0 1 1 A3 n/a 0 1 0 1 UART channel none A B C D
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
12 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
6.4 Internal registers
The SC16C654/654D provides 15 internal registers for monitoring and control. These registers are shown in Table 5. Twelve registers are similar to those already available in the standard 16C554. These registers function as data holding registers (THR/RHR), interrupt status and control registers (IER/ISR), a FIFO control register (FCR), line status and control registers (LCR/LSR), modem status and control registers (MCR/MSR), programmable data rate (clock) control registers (DLL/DLM), and a user accessible scratchpad register (SPR). Beyond the general 16C554 features and capabilities, the SC16C654/654D offers an enhanced feature register set (EFR, Xon/Xoff1-2) that provides on-board hardware/software flow control. Register functions are more fully described in the following paragraphs.
Table 5: A2 0 0 0 0 1 1 1 1 0 0 0 1 1 1 1
[1] [2] [3]
Internal registers decoding A1 0 0 1 1 0 0 1 1 0 0 1 0 0 1 1 A0 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 Line Status Register Modem Status Register Scratchpad Register (DLL/DLM)[2] LSB of Divisor Latch MSB of Divisor Latch Enhanced Feature Register Xon1 word Xon2 word Xoff1 word Xoff2 word LSB of Divisor Latch MSB of Divisor Latch Enhanced Feature Register Xon1 word Xon2 word Xoff1 word Xoff2 word Interrupt Status Register READ mode Receive Holding Register WRITE mode Transmit Holding Register Interrupt Enable Register FIFO Control Register Line Control Register Modem Control Register n/a n/a Scratchpad Register
General register set (THR/RHR, IER/ISR, MCR/MSR, FCR, LSR, SPR)[1]
Baud rate register set
Enhanced register set (EFR, Xon/off 1-2)[3]
These registers are accessible only when LCR[7] is a logic 0. These registers are accessible only when LCR[7] is a logic 1. Enhanced Feature Register, Xon1, 2 and Xoff1, 2 are accessible only when the LCR is set to "BF" (HEX).
6.5 FIFO operation
The 64-byte transmit and receive data FIFOs are enabled by the FIFO Control Register (FCR) bit 0. With SC16C554 devices, the user can set the receive trigger level, but not the transmit trigger level. The SC16C654/654D provides independent trigger levels for both receiver and transmitter. To remain compatible with SC16C554, the transmit interrupt trigger level is set to 8 following a reset. It should be noted that the user can set the transmit trigger levels by writing to the FCR register, but activation will not take place until EFR[4] is set to a logic 1. The receiver FIFO section includes a time-out function to ensure data is delivered to the external CPU. An
9397 750 11617 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
13 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
interrupt is generated whenever the Receive Holding Register (RHR) has not been read following the loading of a character or the receive trigger level has not been reached. (For a description of this timing, see Section 6.6 "Hardware flow control".)
Table 6: RX trigger levels INT pin activation Negate RTS or send Xoff (characters) 16 56 60 60 Assert RTS or send Xon (characters) 0 7 15 55
Selected trigger level (characters) 8 16 56 60
8 16 56 60
6.6 Hardware flow control
When automatic hardware flow control is enabled, the SC16C654/654D monitors the CTS pin for a remote buffer overflow indication and controls the RTS pin for local buffer overflows. Automatic hardware flow control is selected by setting EFR[6] (RTS) and EFR[7] (CTS) to a logic 1. If CTS transitions from a logic 0 to a logic 1 indicating a flow control request, ISR[5] will be set to a logic 1 (if enabled via IER[6,7]), and the SC16C654/654D will suspend TX transmissions as soon as the stop bit of the character in process is shifted out. Transmission is resumed after the CTS input returns to a logic 0, indicating more data may be sent. With the Auto RTS function enabled, an interrupt is generated when the receive FIFO reaches the programmed trigger level. The RTS pin will not be forced to a logic 1 (RTS off), until the receive FIFO reaches the next trigger level. However, the RTS pin will return to a logic 0 after the data buffer (FIFO) is unloaded to the next trigger level below the programmed trigger. However, under the above described conditions, the SC16C654/654D will continue to accept data until the receive FIFO is full.
6.7 Software flow control
When software flow control is enabled, the SC16C654/654D compares one or two sequential receive data characters with the programmed Xon/Xoff or Xoff1,2 character value(s). If received character(s) match the programmed values, the SC16C654/654D will halt transmission (TX) as soon as the current character(s) has completed transmission. When a match occurs, the receive ready (if enabled via Xoff IER[5]) flags will be set and the interrupt output pin (if receive interrupt is enabled) will be activated. Following a suspension due to a match of the Xoff characters' values, the SC16C654/654D will monitor the receive data stream for a match to the Xon1,2 character value(s). If a match is found, the SC16C654/654D will resume operation and clear the flags (ISR[4]). The SC16C654/654D offers a special Xon mode via MCR[5]. The initialized default setting of MCR[5] is a logic 0. In this state, Xoff and Xon will operate as defined above. Setting MCR[5] to a logic 1 sets a special operational mode for the Xon function. In this case, Xoff operates normally, however, transmission (Xon) will resume with the next character received, i.e., a match is declared simply by the receipt of an incoming (RX) character. Reset initially sets the contents of the Xon/Xoff 8-bit flow control registers to a logic 0. Following reset, the user can write any Xon/Xoff value desired for software flow control. Different conditions can be set to detect Xon/Xoff characters and
9397 750 11617 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
14 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
suspend/resume transmissions. When double 8-bit Xon/Xoff characters are selected, the SC16C654/654D compares two consecutive receive characters with two software flow control 8-bit values (Xon1, Xon2, Xoff1, Xoff2) and controls TX transmissions accordingly. Under the above described flow control mechanisms, flow control characters are not placed (stacked) in the user accessible RX data buffer or FIFO. In the event that the receive buffer is overfilling and flow control needs to be executed, the SC16C654/654D automatically sends an Xoff message (when enabled) via the serial TX output to the remote modem. The SC16C654/654D sends the Xoff1,2 characters as soon as received data passes the programmed trigger level. To clear this condition, the SC16C654/654D will transmit the programmed Xon1,2 characters as soon as receive data drops below the programmed trigger level.
6.8 Special feature software flow control
A special feature is provided to detect an 8-bit character when EFR[5] is set. When 8-bit character is detected, it will be placed on the user-accessible data stack along with normal incoming RX data. This condition is selected in conjunction with EFR[0-3]. Note that software flow control should be turned off when using this special mode by setting EFR[0-3] to a logic 0. The SC16C654/654D compares each incoming receive character with Xoff2 data. If a match exists, the received data will be transferred to the FIFO, and ISR[4] will be set to indicate detection of a special character. Although the Internal Register Table (Table 8) shows each X-Register with eight bits of character information, the actual number of bits is dependent on the programmed word length. Line Control Register bits LCR[0-1] define the number of character bits, i.e., either 5 bits, 6 bits, 7 bits or 8 bits. The word length selected by LCR[0-1] also determine the number of bits that will be used for the special character comparison. Bit 0 in the X-registers corresponds with the LSB bit for the receive character.
6.9 Xon any feature
A special feature is provided to return the Xoff flow control to the inactive state following its activation. In this mode, any RX character received will return the Xoff flow control to the inactive state so that transmissions may be resumed with a remote buffer. This feature is more fully defined in Section 6.7 "Software flow control".
6.10 Hardware/software and time-out interrupts
Three special interrupts have been added to monitor the hardware and software flow control. The interrupts are enabled by IER[5-7]. Care must be taken when handling these interrupts. Following a reset, the transmitter interrupt is enabled, the SC16C654/654D will issue an interrupt to indicate that the Transmit Holding Register is empty. This interrupt must be serviced prior to continuing operations. The LSR register provides the current singular highest priority interrupt only. It could be noted that CTS and RTS interrupts have lowest interrupt priority. A condition can exist where a higher priority interrupt may mask the lower priority CTS/RTS interrupt(s). Only after servicing the higher pending interrupt will the lower priority CTS/TRS interrupt(s) be reflected in the status register. Servicing the interrupt without investigating further interrupt conditions can result in data errors.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
15 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
When two interrupt conditions have the same priority, it is important to service these interrupts correctly. Receive Data Ready and Receive Time Out have the same interrupt priority (when enabled by IER[0]). The receiver issues an interrupt after the number of characters have reached the programmed trigger level. In this case, the SC16C654/654D FIFO may hold more characters than the programmed trigger level. Following the removal of a data byte, the user should re-check LSR[0] for additional characters. A Receive Time Out will not occur if the receive FIFO is empty. The time-out counter is reset at the center of each stop bit received or each time the receive holding register (RHR) is read. The actual time-out value is 4 character time. In the 16 mode for the PLCC68 package, the system/board designer can optionally provide software controlled 3-State interrupt operation. This is accomplished by INTSEL and MCR[3]. When INTSEL interface pin is left open or made a logic 0, MCR[3] controls the 3-State interrupt outputs, INTA-INTD. When INTSEL is a logic 1, MCR[3] has no effect on the INTA-INTD outputs, and the package operates with interrupt outputs enabled continuously.
6.11 Programmable baud rate generator
The SC16C654/654D supports high speed modem technologies that have increased input data rates by employing data compression schemes. For example, a 33.6 kbit/s modem that employs data compression may require a 115.2 kbit/s input data rate. A 128.0 kbit/s ISDN modem that supports data compression may need an input data rate of 460.8 kbit/s. A single baud rate generator is provided for the transmitter and receiver, allowing independent TX/RX channel control. The programmable Baud Rate Generator is capable of accepting an input clock up to 80 MHz (for 3.3 V and 5 V operation), as required for supporting a 5 Mbits/s data rate. The SC16C654/654D can be configured for internal or external clock operation. For internal clock oscillator operation, an industry standard microprocessor crystal (parallel resonant/22-33 pF load) is connected externally between the XTAL1 and XTAL2 pins (see Figure 6). Alternatively, an external clock can be connected to the XTAL1 pin to clock the internal baud rate generator for standard or custom rates (see Table 7).
XTAL1
XTAL2
XTAL1
XTAL2 X1 1.8432 MHz 1.5 k C1 22 pF C2 47 pF
002aaa169
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
X1 1.8432 MHz C1 47 pF C2 100 pF
Fig 6. Crystal oscillator connection.
The generator divides the input 16x clock by any divisor from 1 to 216 - 1. The SC16C654/654D divides the basic external clock by 16. Further division of this 16x clock provides two table rates to support low and high data rate applications using the
9397 750 11617
Product data
Rev. 04 -- 19 June 2003
16 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
same system design. After a hardware reset and during initialization, the SC16C654/654D sets the default baud rate table according to the state of the CLKSEL pin. A logic 1 on CLKSEL will set the 1x clock default, whereas logic 0 will set the 4x clock default table. Following the default clock rate selection during initialization, the rate tables can be changed by the internal register MCR[7]. Setting MCR[7] to a logic 1 when CLKSEL is a logic 1 provides an additional divide-by-4, whereas setting MCR[7] to a logic 0 only divides by 1. (See Table 7 and Figure 7.) Customized Baud Rates can be achieved by selecting the proper divisor values for the MSB and LSB sections of baud rate generator. Programming the Baud Rate Generator Registers DLM (MSB) and DLL (LSB) provides a user capability for selecting the desired final baud rate. The example in Table 7 shows the two selectable baud rate tables available when using a 7.3728 MHz crystal.
Table 7: Baud rate generator programming table using a 7.3728 MHz clock User 16x clock divisor Decimal 2304 384 192 96 48 24 12 6 3 2 1 HEX 900 180 C0 60 30 18 0C 06 03 02 01 DLM program value (HEX) 09 01 00 00 00 00 00 00 00 00 00 DLL program value (HEX) 00 80 C0 60 30 18 0C 06 03 02 01
Output baud rate MCR[7] = 1 50 300 600 1200 2400 4800 9600 19.2 k 38.4 k 57.6 k 115.2 k MCR[7] = 0 200 1200 2400 4800 9600 19.2 k 38.4 k 76.8 k 153.6 k 230.4 k 460.8 k
DIVIDE-BY-1 LOGIC XTAL1
MCR[7] = 0
XTAL2
CLOCK OSCILLATOR LOGIC
BAUD RATE GENERATOR LOGIC
BAUDOUT
DIVIDE-BY-4 LOGIC
MCR[7] = 1
002aaa208
Fig 7. Baud rate generator circuitry.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
17 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
6.12 DMA operation
The SC16C654/654D FIFO trigger level provides additional flexibility to the user for block mode operation. LSR[5,6] provide an indication when the transmitter is empty or has an empty location(s). The user can optionally operate the transmit and receive FIFOs in the DMA mode (FCR[3]). When the transmit and receive FIFOs are enabled and the DMA mode is de-activated (DMA Mode 0), the SC16C654/654D activates the interrupt output pin for each data transmit or receive operation. When DMA mode is activated (DMA Mode 1), the user takes the advantage of block mode operation by loading or unloading the FIFO in a block sequence determined by the preset trigger level. In this mode, the SC16C654/654D sets the interrupt output pin when characters in the transmit FIFOs are below the transmit trigger level, or the characters in the receive FIFOs are above the receive trigger level.
6.13 Sleep mode
The SC16C654/654D is designed to operate with low power consumption. A special sleep mode is included to further reduce power consumption when the chip is not being used. With EFR[4] and IER[4] enabled (set to a logic 1), the SC16C654/654D enters the sleep mode, but resumes normal operation when a start bit is detected, a change of state on any of the modem input pins RX, RI, CTS, DSR, CD, or a transmit data is provided by the user. If the sleep mode is enabled and the SC16C654/654D is awakened by one of the conditions described above, it will return to the sleep mode automatically after the last character is transmitted or read by the user. In any case, the seep mode will not be entered while an interrupt(s) is pending. The SC16C654/654D will stay in the sleep mode of operation until it is disabled by setting IER[4] to a logic 0.
6.14 Loop-back mode
The internal loop-back capability allows on-board diagnostics. In the loop-back mode, the normal modem interface pins are disconnected and reconfigured for loop-back internally. MCR[0-3] register bits are used for controlling loop-back diagnostic testing. In the loop-back mode, OP1 and OP2 in the MCR register (bits 2-3) control the modem RI and CD inputs, respectively. MCR signals DTR and RTS (bits 0-1) are used to control the modem CTS and DSR inputs, respectively. The transmitter output (TX) and the receiver input (RX) are disconnected from their associated interface pins, and instead are connected together internally (see Figure 8). The CTS, DSR, CD, and RI are disconnected from their normal modem control input pins, and instead are connected internally to DTR, RTS, OP1 and OP2. Loop-back test data is entered into the transmit holding register via the user data bus interface, D0-D7. The transmit UART serializes the data and passes the serial data to the receive UART via the internal loop-back connection. The receive UART converts the serial data back into parallel data that is then made available at the user data interface D0-D7. The user optionally compares the received data to the initial transmitted data for verifying error-free operation of the UART TX/RX circuits. In this mode, the receiver and transmitter interrupts are fully operational. The Modem Control Interrupts are also operational. However, the interrupts can only be read using lower four bits of the Modem Status Register (MSR[0-3]) instead of the four Modem Status Register bits 4-7. The interrupts are still controlled by the IER.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
18 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
SC16C654/654D
TRANSMIT FIFO REGISTERS D0-D7 IOR IOW RESET DATA BUS AND CONTROL LOGIC FLOW CONTROL LOGIC
TRANSMIT SHIFT REGISTER
TXA-TXD
IR ENCODER
INTERCONNECT BUS LINES AND CONTROL SIGNALS
RECEIVE FIFO REGISTERS
RECEIVE SHIFT REGISTER
MCR[4] = 1
RXA-RXD
A0-A2 CSA-CSD
REGISTER SELECT LOGIC
FLOW CONTROL LOGIC
IR DECODER
RTSA-RTSD
DSRA-DSRD DTRA-DTRD
MODEM CONTROL LOGIC
CTSA-CTSD OP1A-OP1D
INTA-INTD TXRDY RXRDY
INTERRUPT CONTROL LOGIC
CLOCK AND BAUD RATE GENERATOR
RIA-RID OP2A-OP2D
CDA-CDD
002aaa209
XTAL1 XTAL2
Fig 8. Internal loop-back mode diagram.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
19 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
7. Register descriptions
Table 8 details the assigned bit functions for the SC16C654/654D internal registers. The assigned bit functions are more fully defined in Section 7.1 through Section 7.11.
Table 8: SC16C654/654D internal registers Shaded bits are only accessible when EFR[4] is set. A2 A1 A0 Register Default[1] Bit 7 General Register 0 0 0 0 0 0 0 0 1 Set[2] XX XX 00 bit 7 bit 7 bit 6 bit 6 bit 5 bit 5 bit 4 bit 4 Sleep mode bit 3 bit 3 modem status interrupt bit 2 bit 2 bit 1 bit 1 bit 0 bit 0 receive holding register FIFO enable INT status word length bit 0 DTR RHR THR IER Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
CTS RTS Xoff interrupt interrupt interrupt RCVR trigger (MSB) FIFOs enabled divisor latch enable Clock select FIFO data error CD bit 7 bit 7 bit 15 Auto CTS RCVR trigger (LSB) FIFOs enabled set break IR enable trans. empty RI bit 6 bit 6 bit 14 Auto RTS TX trigger (MSB) INT priority bit 4
receive transmit line status holding interrupt register XMIT RCVR FIFO reset FIFO reset INT priority bit 1 stop bits INT priority bit 0 word length bit 1 RTS
0
1
0
FCR
00
TX trigger DMA (LSB) mode select INT priority bit 3 INT priority bit 2 parity enable
0
1
0
ISR
01
0
1
1
LCR
00
set parity even parity
1
0
0
MCR
00
Xon Any loop back OP2, INTx enable trans. holding empty DSR bit 5 bit 5 bit 13 Special char. select break interrupt CTS bit 4 bit 4 bit 12 framing error CD bit 3 bit 3 bit 11
OP1
1
0
1
LSR
60
parity error RI bit 2 bit 2 bit 10
overrun error DSR bit 1 bit 1 bit 9
receive data ready CTS bit 0 bit 0 bit 8 Cont-0 Tx, Rx Control
1 1 0 0 0
1 1 0 0 1
0 1 0 1 0
MSR SPR Set[3] DLL DLM EFR
X0 FF XX XX Set[4] 00
Special Register
Enhanced Register
Enable Cont-3 IER[4-7], Tx, Rx ISR[4,5], Control FCR[4,5], MCR[5-7] bit 4 bit 12 bit 4 bit 12 bit 3 bit 11 bit 3 bit 11
Cont-2 Tx, Cont-1 Rx Control Tx, Rx Control
1 1 1 1
[1] [2] [3] [4]
0 0 1 1
0 1 0 1
Xon-1 Xon-2 Xoff-1 Xoff-2
00 00 00 00
bit 7 bit 15 bit 7 bit 15
bit 6 bit 14 bit 6 bit 14
bit 5 bit 13 bit 5 bit 13
bit 2 bit 10 bit 2 bit 10
bit 1 bit 9 bit 1 bit 9
bit 0 bit 8 bit 0 bit 8
The value shown represents the register's initialized HEX value; X = n/a. These registers are accessible only when LCR[7] = 0. The Special Register set is accessible only when LCR[7] is set to a logic 1. Enhanced Feature Register, Xon-1,2 and Xoff-1,2 are accessible only when LCR is set to `BFHex'.
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
9397 750 11617
Product data
Rev. 04 -- 19 June 2003
20 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
7.1 Transmit (THR) and Receive (RHR) Holding Registers
The serial transmitter section consists of an 8-bit Transmit Hold Register (THR) and Transmit Shift Register (TSR). The status of the THR is provided in the Line Status Register (LSR). Writing to the THR transfers the contents of the data bus (D7-D0) to the THR, providing that the THR or TSR is empty. The THR empty flag in the LSR register will be set to a logic 1 when the transmitter is empty or when data is transferred to the TSR. Note that a write operation can be performed when the THR empty flag is set (logic 0 = FIFO full; logic 1 = at least one FIFO location available). The serial receive section also contains an 8-bit Receive Holding Register (RHR). Receive data is removed from the SC16C654/654D and receive FIFO by reading the RHR register. The receive section provides a mechanism to prevent false starts. On the falling edge of a start or false start bit, an internal receiver counter starts counting clocks at the 16x clock rate. After 7-12 clocks, the start bit time should be shifted to the center of the start bit. At this time the start bit is sampled, and if it is still a logic 0 it is validated. Evaluating the start bit in this manner prevents the receiver from assembling a false character. Receiver status codes will be posted in the LSR.
7.2 Interrupt Enable Register (IER)
The Interrupt Enable Register (IER) masks the interrupts from receiver ready, transmitter empty, line status and modem status registers. These interrupts would normally be seen on the INTA-INTD output pins in the 16 mode, or on wire-OR IRQ output pin in the 68 mode.
Table 9: Bit 7 Interrupt Enable Register bits description Description CTS interrupt. Logic 0 = Disable the CTS interrupt (normal default condition). Logic 1 = Enable the CTS interrupt. The SC16C654/654D issues an interrupt when the CTS pin transitions from a logic 0 to a logic 1. 6 IER[6] RTS interrupt. Logic 0 = Disable the RTS interrupt (normal default condition). Logic 1 = Enable the RTS interrupt. The SC16C654/654D issues an interrupt when the RTS pin transitions from a logic 0 to a logic 1. 5 IER[5] Xoff interrupt. Logic 0 = Disable the software flow control, receive Xoff interrupt (normal default condition). Logic 1 = Enable the software flow control, receive Xoff interrupt. See Section 6.7 "Software flow control" for details. 4 IER[4] Sleep mode. Logic 0 = Disable sleep mode (normal default condition). Logic 1 = Enable sleep mode. See Section 6.13 "Sleep mode" for details. 3 IER[3] Modem Status Interrupt. Logic 0 = Disable the modem status register interrupt (normal default condition). Logic 1 = Enable the modem status register interrupt.
Symbol IER[7]
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
21 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Interrupt Enable Register bits description...continued Description Receive Line Status interrupt. This interrupt will be issued whenever a fully assembled receive character is transferred from RSR to the RHR/FIFO, i.e., data ready, LSR[0]. Logic 0 = Disable the receiver line status interrupt (normal default condition). Logic 1 = Enable the receiver line status interrupt.
Table 9: Bit 2
Symbol IER[2]
1
IER[1]
Transmit Holding Register interrupt. This interrupt will be issued whenever the THR is empty, and is associated with LSR[1]. Logic 0 = Disable the transmitter empty interrupt (normal default condition). Logic 1 = Enable the transmitter empty interrupt.
0
IER[0]
Receive Holding Register interrupt. This interrupt will be issued when the FIFO has reached the programmed trigger level, or is cleared when the FIFO drops below the trigger level in the FIFO mode of operation. Logic 0 = Disable the receiver ready interrupt (normal default condition). Logic 1 = Enable the receiver ready interrupt.
7.2.1
IER versus Receive FIFO interrupt mode operation When the receive FIFO (FCR[0] = logic 1), and receive interrupts (IER[0] = logic 1) are enabled, the receive interrupts and register status will reflect the following:
* The receive data available interrupts are issued to the external CPU when the
FIFO has reached the programmed trigger level. It will be cleared when the FIFO drops below the programmed trigger level.
* FIFO status will also be reflected in the user accessible ISR register when the
FIFO trigger level is reached. Both the ISR register status bit and the interrupt will be cleared when the FIFO drops below the trigger level.
* The data ready bit (LSR[0]) is set as soon as a character is transferred from the
shift register to the receive FIFO. It is reset when the FIFO is empty. 7.2.2 IER versus Receive/Transmit FIFO polled mode operation When FCR[0] = logic 1, resetting IER[0-3] enables the SC16C654/654D in the FIFO polled mode of operation. Since the receiver and transmitter have separate bits in the LSR, either or both can be used in the polled mode by selecting respective transmit or receive control bit(s).
* * * *
LSR[0] will be a logic 1 as long as there is one byte in the receive FIFO. LSR[1-4] will provide the type of errors encountered, if any. LSR[5] will indicate when the transmit FIFO is empty. LSR[6] will indicate when both the transmit FIFO and transmit shift register are empty.
* LSR[7] will indicate any FIFO data errors.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
22 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
7.3 FIFO Control Register (FCR)
This register is used to enable the FIFOs, clear the FIFOs, set the transmit/receive FIFO trigger levels, and select the DMA mode. 7.3.1 DMA mode Mode 0 (FCR bit 3 = 0): Set and enable the interrupt for each single transmit or receive operation, and is similar to the 16C454 mode. Transmit Ready (TXRDY) will go to a logic 0 whenever an empty transmit space is available in the Transmit Holding Register (THR). Receive Ready (RXRDY) will go to a logic 0 whenever the Receive Holding Register (RHR) is loaded with a character. Mode 1 (FCR bit 3 = 1): Set and enable the interrupt in a block mode operation. The transmit interrupt is set when the transmit FIFO is below the programmed trigger level. TXRDY remains a logic 0 as long as one empty FIFO location is available. The receive interrupt is set when the receive FIFO fills to the programmed trigger level. However, the FIFO continues to fill regardless of the programmed level until the FIFO is full. RXRDY remains a logic 0 as long as the FIFO fill level is above the programmed trigger level. 7.3.2 FIFO mode
Table 10: Bit 7-6 FIFO Control Register bits description Description RCVR trigger. These bits are used to set the trigger level for the receive FIFO interrupt. An interrupt is generated when the number of characters in the FIFO equals the programmed trigger level. However, the FIFO will continue to be loaded until it is full. Refer to Table 11. TX trigger. These bits are used to set the trigger level for the transmit FIFO interrupt. The SC16C654/654D will issue a transmit empty interrupt when the number of characters in FIFO drops below the selected trigger level. Refer to Table 12. DMA mode select. Logic 0 = Set DMA mode `0' (normal default condition). Logic 1 = Set DMA mode `1' Transmit operation in mode `0': When the SC16C654/654D is in the 16C450 mode (FIFOs disabled; FCR[0] = logic 0) or in the FIFO mode (FIFOs enabled; FCR[0] = logic 1; FCR[3] = logic 0), and when there are no characters in the transmit FIFO or transmit holding register, the TXRDY pin will be a logic 0. Once active, the TXRDY pin will go to a logic 1 after the first character is loaded into the transmit holding register. Receive operation in mode `0': When the SC16C654/654D is in mode `0' (FCR[0] = logic 0), or in the FIFO mode (FCR[0] = logic 1; FCR[3] = logic 0) and there is at least one character in the receive FIFO, the RXRDY pin will be a logic 0. Once active, the RXRDY pin will go to a logic 1 when there are no more characters in the receiver.
Symbol FCR[7] (MSB), FCR[6] (LSB) FCR[5] (MSB), FCR[4] (LSB) FCR[3]
5-4
3
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
23 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
FIFO Control Register bits description...continued Description Transmit operation in mode `1': When the SC16C654/654D is in FIFO mode (FCR[0] = logic 1; FCR[3] = logic 1), the TXRDY pin will be a logic 1 when the transmit FIFO is completely full. It will be a logic 0 when the trigger level has been reached. Receive operation in mode `1': When the SC16C654/654D is in FIFO mode (FCR[0] = logic 1; FCR[3] = logic 1) and the trigger level has been reached, or a Receive Time-Out has occurred, the RXRDY pin will go to a logic 0. Once activated, it will go to a logic 1 after there are no more characters in the FIFO.
Table 10: Bit
Symbol
2
FCR[2]
XMIT FIFO reset. Logic 0 = No FIFO transmit reset (normal default condition). Logic 1 = Clears the contents of the transmit FIFO and resets the FIFO counter logic (the transmit shift register is not cleared or altered). This bit will return to a logic 0 after clearing the FIFO.
1
FCR[1]
RCVR FIFO reset. Logic 0 = No FIFO receive reset (normal default condition). Logic 1 = Clears the contents of the receive FIFO and resets the FIFO counter logic (the receive shift register is not cleared or altered). This bit will return to a logic 0 after clearing the FIFO.
0
FCR[0]
FIFO enable. Logic 0 = Disable the transmit and receive FIFO (normal default condition). Logic 1 = Enable the transmit and receive FIFO. This bit must be a `1' when other FCR bits are written to, or they will not be programmed.
Table 11: FCR[7] 0 0 1 1 Table 12: FCR[5] 0 0 1 1
RCVR trigger levels FCR[6] 0 1 0 1 TX trigger levels FCR[4] 0 1 0 1 TX FIFO trigger level (# of characters) 08 16 32 56 RX FIFO trigger level 08 16 56 60
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
24 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
7.4 Interrupt Status Register (ISR)
The SC16C654/654D provides six levels of prioritized interrupts to minimize external software interaction. The Interrupt Status Register (ISR) provides the user with six interrupt status bits. Performing a read cycle on the ISR will provide the user with the highest pending interrupt level to be serviced. No other interrupts are acknowledged until the pending interrupt is serviced. Whenever the interrupt status register is read, the interrupt status is cleared. However, it should be noted that only the current pending interrupt is cleared by the read. A lower level interrupt may be seen after re-reading the interrupt status bits. Table 13 "Interrupt source" shows the data values (bits 0-5) for the six prioritized interrupt levels and the interrupt sources associated with each of these interrupt levels.
Table 13: Priority level 1 2 2 3 4 5 6 Table 14: Bit 7-6 Interrupt source ISR[5] 0 0 0 0 0 0 1 ISR[4] 0 0 0 0 0 1 0 ISR[3] 0 0 1 0 0 0 0 ISR[2] 1 1 1 0 0 0 0 ISR[1] 1 0 0 1 0 0 0 ISR[0] 0 0 0 0 0 0 0 Source of the interrupt LSR (Receiver Line Status Register) RXRDY (Received Data Ready) RXRDY (Receive Data time-out) TXRDY (Transmitter Holding Register Empty) MSR (Modem Status Register) RXRDY (Received Xoff signal) / Special character CTS, RTS change of state
Interrupt Status Register bits description Symbol ISR[7-6] Description FIFOs enabled. These bits are set to a logic 0 when the FIFO is not being used. They are set to a logic 1 when the FIFOs are enabled. Logic 0 or cleared = default condition. INT priority bits 4-3. These bits are enabled when EFR[4] is set to a logic 1. ISR[4] indicates that matching Xoff character(s) have been detected. ISR[5] indicates that CTS, RTS have been generated. Note that once set to a logic 1, the ISR[4] bit will stay a logic 1 until Xon character(s) are received. Logic 0 or cleared = default condition. INT priority bits 2-0. These bits indicate the source for a pending interrupt at interrupt priority levels 1, 2, and 3 (see Table 13). Logic 0 or cleared = default condition. INT status. Logic 0 = An interrupt is pending and the ISR contents may be used as a pointer to the appropriate interrupt service routine. Logic 1 = No interrupt pending (normal default condition).
5-4
ISR[5-4]
3-1
ISR[3-1]
0
ISR[0]
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
25 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
7.5 Line Control Register (LCR)
The Line Control Register is used to specify the asynchronous data communication format. The word length, the number of stop bits, and the parity are selected by writing the appropriate bits in this register.
Table 15: Bit 7 Line Control Register bits description Symbol LCR[7] Description Divisor latch enable. The internal baud rate counter latch and Enhance Feature mode enable. Logic 0 = Divisor latch disabled (normal default condition). Logic 1 = Divisor latch and enhanced feature register enabled. 6 LCR[6] Set break. When enabled, the Break control bit causes a break condition to be transmitted (the TX output is forced to a logic 0 state). This condition exists until disabled by setting LCR[6] to a logic 0. Logic 0 = no TX break condition (normal default condition). Logic 1 = forces the transmitter output (TX) to a logic 0 for alerting the remote receiver to a line break condition. 5 LCR[5] Set parity. If the parity bit is enabled, LCR[5] selects the forced parity format. Programs the parity conditions (see Table 16). Logic 0 = parity is not forced (normal default condition). LCR[5] = logic 1 and LCR[4] = logic 0: parity bit is forced to a logical 1 for the transmit and receive data. LCR[5] = logic 1 and LCR[4] = logic 1: parity bit is forced to a logical 0 for the transmit and receive data. 4 LCR[4] Even parity. If the parity bit is enabled with LCR[3] set to a logic 1, LCR[4] selects the even or odd parity format. Logic 0 = ODD Parity is generated by forcing an odd number of logic 1s in the transmitted data. The receiver must be programmed to check the same format (normal default condition). Logic 1 = EVEN Parity is generated by forcing an even number of logic 1s in the transmitted data. The receiver must be programmed to check the same format. 3 LCR[3] Parity enable. Parity or no parity can be selected via this bit. Logic 0 = no parity (normal default condition). Logic 1 = a parity bit is generated during the transmission, receiver checks the data and parity for transmission errors. 2 LCR[2] Stop bits. The length of stop bit is specified by this bit in conjunction with the programmed word length (see Table 17). Logic 0 or cleared = default condition. 1-0 LCR[1-0] Word length bits 1, 0. These two bits specify the word length to be transmitted or received (see Table 18). Logic 0 or cleared = default condition.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
26 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
LCR[5] parity selection LCR[4] X 0 1 0 1 LCR[3] 0 1 1 1 1 Parity selection no parity ODD parity EVEN parity force parity `1' forced parity `0'
Table 16: LCR[5] X 0 0 1 1 Table 17: LCR[2] 0 1 1 Table 18: LCR[1] 0 0 1 1
LCR[2] stop bit length Word length 5, 6, 7, 8 5 6, 7, 8 Stop bit length (bit times) 1 1-12 2
LCR[1-0] word length LCR[0] 0 1 0 1 Word length 5 6 7 8
7.6 Modem Control Register (MCR)
This register controls the interface with the modem or a peripheral device.
Table 19: Bit 7 Modem Control Register bits description Symbol MCR[7] Description Clock select. Logic 0 = Divide-by-1. The input clock (crystal or external) is divided by 16 and then presented to the Programmable Baud Rate Generator (BGR) without further modification, i.e., divide-by-1. (normal default condition). Logic 1 = Divide-by-4. The divide-by-1 clock described in MCR[7] = a logic 0, if further divided by four. Also see Section 6.11 "Programmable baud rate generator". 6 MCR[6] IR enable. Logic 0 = Enable the standard modem receive and transmit input/output interface (normal default condition). Logic 1 = Enable infrared IrDA receive and transmit inputs/outputs. While in this mode, the TX/RX output/inputs are routed to the infrared encoder/decoder. The data input and output levels will conform to the IrDA infrared interface requirement. As such, while in this mode, the infrared TX output will be a logic 0 during idle data conditions.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
27 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Modem Control Register bits description...continued Symbol MCR[5] Description Xon Any. Logic 0 = Disable Xon Any function (for 16C550 compatibility) (normal default condition). Logic 1 = Enable Xon Any function. In this mode, any RX character received will enable Xon
Table 19: Bit 5
4
MCR[4]
Loop-back. Enable the local loop-back mode (diagnostics). In this mode the transmitter output (TX) and the receiver input (RX), CTS, DSR, CD, and RI are disconnected from the SC16C654/654D I/O pins. Internally the modem data and control pins are connected into a loop-back data configuration (see Figure 8). In this mode, the receiver and transmitter interrupts remain fully operational. The Modem Control Interrupts are also operational, but the interrupts' sources are switched to the lower four bits of the Modem Control. Interrupts continue to be controlled by the IER register. Logic 0 = Disable loop-back mode (normal default condition). Logic 1 = Enable local loop-back mode (diagnostics).
3
MCR[3]
OP2, INTx enable. Used to control the modem CD signal in the loop-back mode. Logic 0 = Forces INTA-INTD outputs to the 3-State mode during the 16 mode (normal default condition). In the loop-back mode, sets OP2 (CD) internally to a logic 1. Logic 1 = Forces the INTA-INTD outputs to the active mode during the 16 mode. In the loop-back mode, sets OP2 (CD) internally to a logic 0.
2
MCR[2]
OP1. This bit is used in the Loop-back mode only. In the loop-back mode, this bit is used to write the state of the modem RI interface signal via OP1. RTS Logic 0 = Force RTS output to a logic 1 (normal default condition). Logic 1 = Force RTS output to a logic 0. Automatic RTS may be used for hardware flow control by enabling EFR[6]. See Table 22.
1
MCR[1]
0
MCR[0]
DTR Logic 0 = Force DTR output to a logic 1 (normal default condition). Logic 1 = Force DTR output to a logic 0.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
28 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
7.7 Line Status Register (LSR)
This register provides the status of data transfers between the SC16C654/654D and the CPU.
Table 20: Bit 7 Line Status Register bits description Description FIFO data error. Logic 0 = No error (normal default condition). Logic 1 = At least one parity error, framing error or break indication is in the current FIFO data. This bit is cleared when LSR register is read. 6 LSR[6] THR and TSR empty. This bit is the Transmit Empty indicator. This bit is set to a logic 1 whenever the transmit holding register and the transmit shift register are both empty. It is reset to logic 0 whenever either the THR or TSR contains a data character. In the FIFO mode, this bit is set to `1' whenever the transmit FIFO and transmit shift register are both empty. THR empty. This bit is the Transmit Holding Register Empty indicator. This bit indicates that the UART is ready to accept a new character for transmission. In addition, this bit causes the UART to issue an interrupt to CPU when the THR interrupt enable is set. The THR bit is set to a logic 1 when a character is transferred from the transmit holding register into the transmitter shift register. The bit is reset to a logic 0 concurrently with the loading of the transmitter holding register by the CPU. In the FIFO mode, this bit is set when the transmit FIFO is empty; it is cleared when at least 1 byte is written to the transmit FIFO. Break interrupt. Logic 0 = No break condition (normal default condition). Logic 1 = The receiver received a break signal (RX was a logic 0 for one character frame time). In the FIFO mode, only one break character is loaded into the FIFO. 3 LSR[3] Framing error. Logic 0 = No framing error (normal default condition). Logic 1 = Framing error. The receive character did not have a valid stop bit(s). In the FIFO mode, this error is associated with the character at the top of the FIFO. 2 LSR[2] Parity error. Logic 0 = No parity error (normal default condition). Logic 1 = Parity error. The receive character does not have correct parity information and is suspect. In the FIFO mode, this error is associated with the character at the top of the FIFO. 1 LSR[1] Overrun error. Logic 0 = No overrun error (normal default condition). Logic 1 = Overrun error. A data overrun error occurred in the receive shift register. This happens when additional data arrives while the FIFO is full. In this case, the previous data in the shift register is overwritten. Note that under this condition, the data byte in the receive shift register is not transferred into the FIFO, therefore the data in the FIFO is not corrupted by the error.
Symbol LSR[7]
5
LSR[5]
4
LSR[4]
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
29 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Line Status Register bits description...continued Description Receive data ready. Logic 0 = No data in receive holding register or FIFO (normal default condition). Logic 1 = Data has been received and is saved in the receive holding register or FIFO.
Table 20: Bit 0
Symbol LSR[0]
7.8 Modem Status Register (MSR)
This register provides the current state of the control interface signals from the modem, or other peripheral device to which the SC16C654/654D is connected. Four bits of this register are used to indicate the changed information. These bits are set to a logic 1 whenever a control input from the modem changes state. These bits are set to a logic 0 whenever the CPU reads this register.
Table 21: Bit 7 Modem Status Register bits description Description CD (Active-HIGH, logical 1). Normally this bit is the complement of the CD input. In the loop-back mode this bit is equivalent to the OP2 bit in the MCR register. RI (Active-HIGH, logical 1). Normally this bit is the complement of the RI input. In the loop-back mode this bit is equivalent to the OP1 bit in the MCR register. DSR (Active-HIGH, logical 1). Normally this bit is the complement of the DSR input. In loop-back mode this bit is equivalent to the DTR bit in the MCR register. CTS. CTS functions as hardware flow control signal input if it is enabled via EFR[7]. The transmit holding register flow control is enabled/disabled by MSR[4]. Flow control (when enabled) allows starting and stopping the transmissions based on the external modem CTS signal. A logic 1 at the CTS pin will stop SC16C654/654D transmissions as soon as current character has finished transmission. Normally MSR[4] is the complement of the CTS input. However, in the loop-back mode, this bit is equivalent to the RTS bit in the MCR register. CD [1] Logic 0 = No CD change (normal default condition). Logic 1 = The CD input to the SC16C654/654D has changed state since the last time it was read. A modem Status Interrupt will be generated. 2 MSR[2] RI [1] Logic 0 = No RI change (normal default condition). Logic 1 = The RI input to the SC16C654/654D has changed from a logic 0 to a logic 1. A modem Status Interrupt will be generated.
Symbol MSR[7]
6
MSR[6]
5
MSR[5]
4
MSR[4]
3
MSR[3]
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
30 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Modem Status Register bits description...continued Description DSR [1] Logic 0 = No DSR change (normal default condition). Logic 1 = The DSR input to the SC16C654/654D has changed state since the last time it was read. A Modem Status Interrupt will be generated.
Table 21: Bit 1
Symbol MSR[1]
0
MSR[0]
CTS [1] Logic 0 = No CTS change (normal default condition). Logic 1 = The CTS input to the SC16C654/654D has changed state since the last time it was read. A Modem Status Interrupt will be generated.
[1]
Whenever any MSR bit 0-3 is set to logic 1, a Modem Status Interrupt will be generated.
7.9 Scratchpad Register (SPR)
The SC16C654/654D provides a temporary data register to store 8 bits of user information.
7.10 Enhanced Feature Register (EFR)
Enhanced features are enabled or disabled using this register. Bits 0 through 4 provide single or dual character software flow control selection. When the Xon1 and Xon2 and/or Xoff1 and Xoff2 modes are selected, the double 8-bit words are concatenated into two sequential numbers.
Table 22: Bit 7 Enhanced Feature Register bits description Description Auto CTS. Automatic CTS Flow Control. Logic 0 = Automatic CTS flow control is disabled (normal default condition). Logic 1 = Enable Automatic CTS flow control. Transmission will stop when CTS goes to a logical 1. Transmission will resume when the CTS pin returns to a logical 0. 6 EFR[6] Auto RTS. Automatic RTS may be used for hardware flow control by enabling EFR[6]. When Auto RTS is selected, an interrupt will be generated when the receive FIFO is filled to the programmed trigger level and RTS will go to a logic 1 at the next trigger level. RTS will return to a logic 0 when data is unloaded below the next lower trigger level (Programmed trigger level -1). The state of this register bit changes with the status of the hardware flow control. RTS functions normally when hardware flow control is disabled. Logic 0 = Automatic RTS flow control is disabled (normal default condition). Logic 1 = Enable Automatic RTS flow control.
Symbol EFR[7]
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
31 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Enhanced Feature Register bits description...continued Description Special Character Detect. Logic 0 = Special character detect disabled (normal default condition). Logic 1 = Special character detect enabled. The SC16C654/654D compares each incoming receive character with Xoff2 data. If a match exists, the received data will be transferred to FIFO and ISR[4] will be set to indicate detection of special character. Bit-0 in the X-registers corresponds with the LSB bit for the receive character. When this feature is enabled, the normal software flow control must be disabled (EFR[3-0] must be set to a logic 0).
Table 22: Bit 5
Symbol EFR[5]
4
EFR[4]
Enhanced function control bit. The content of IER[7-4], ISR[5-4], FCR[5-4], and MCR[7-5] can be modified and latched. After modifying any bits in the enhanced registers, EFR[4] can be set to a logic 0 to latch the new values. This feature prevents existing software from altering or overwriting the SC16C654/654D enhanced functions. Logic 0 = Disable (normal default condition). Logic 1 = Enable.
3-0
EFR[3-0]
Cont-3-0 Tx, Rx control. Logic 0 or cleared is the default condition. Combinations of software flow control can be selected by programming these bits. See Table 23.
Table 23: Cont-3 0 1 0 1 X X X 1 0 1 0 0 1 1 X X X 0 1 1
Software flow control functions[1] Cont-2 Cont-1 X X X X 0 1 0 1 1 1 Cont-0 X X X X 0 0 1 1 1 1 TX, RX software flow controls No transmit flow control Transmit Xon1/Xoff1 Transmit Xon2/Xoff2 Transmit Xon1 and Xon2/Xoff1 and Xoff2 No receive flow control Receiver compares Xon1/Xoff1 Receiver compares Xon2/Xoff2 Transmit Xon1/Xoff1 Receiver compares Xon1 and Xon2, Xoff1 and Xoff2 Transmit Xon2/Xoff2 Receiver compares Xon1 and Xon2/Xoff1 and Xoff2 Transmit Xon1 and Xon2/Xoff1 and Xoff2 Receiver compares Xon1 and Xon2/Xoff1 and Xoff2
[1]
When using software flow control the Xon/Xoff characters cannot be used for data transfer.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
32 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
7.11 SC16C654/654D external reset conditions
Table 24: Register IER ISR LCR MCR LSR MSR FCR EFR Table 25: Output TXA, TXB, TXC, TXD RTSA, RTSB, RTSC, RTSD DTRA, DTRB, DTRC, DTRD RXRDY TXRDY Reset state for registers Reset state IER[7-0] = 0 ISR[7-1] = 0; ISR[0] = 1 LCR[7-0] = 0 MCR[7-0] = 0 LSR[7] = 0; LSR[6-5] = 1; LSR[4-0] = 0 MSR[7-4] = input signals; MSR[3-0] = 0 FCR[7-0] = 0 EFR[7-0] = 0 Reset state for outputs Reset state HIGH HIGH HIGH HIGH LOW
8. Limiting values
Table 26: Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol VCC Vn Tamb Tstg Ptot(pack) Parameter supply voltage voltage at any pin operating temperature storage temperature total power dissipation per package Conditions Min GND - 0.3 -40 -65 Max 7 VCC + 0.3 +85 +150 500 Unit V V C C mW
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
33 of 52
xxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x xxxxxxxxxxxxxx xxxxxxxxxx xxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxx x x
Product data Rev. 04 -- 19 June 2003
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved. 9397 750 11617
9. Static characteristics
Philips Semiconductors
Table 27: DC electrical characteristics Tamb = -40 C to +85 C; VCC = 2.5 V, 3.3 V or 5.0 V 10%, unless otherwise specified. Symbol VIL(CK) VIH(CK) VIL VIH VOL Parameter LOW-level clock input voltage HIGH-level clock input voltage LOW-level input voltage (except X1 clock) HIGH-level input voltage (except X1 clock) LOW-level output voltage on all outputs[1] IOL = 5 mA (databus) IOL = 4 mA (other outputs) IOL = 2 mA (databus) IOL = 1.6 mA (other outputs) VOH HIGH-level output voltage IOH = -5 mA (databus) IOH = -1 mA (other outputs) IOH = -800 A (data bus) IOH = -400 A (other outputs) ILIL ICL ICC ICCsleep Ci Rpu(int)
[1] [2] [3]
Conditions Min -0.3 1.8 -0.3 1.6 1.85 1.85 f = 5 MHz 500 -
2.5 V Nom Max 0.45 VCC 0.65 0.4 0.4 10 30 4.5 5 Min -0.3 2.4 -0.3 2.0 2.0 500 -
3.3 V Nom Max 0.6 VCC 0.8 0.4 10 30 6 5 Min -0.5 3.0 -0.5 2.2 2.4 500 -
5.0 V Nom Max 0.6 VCC 0.8 0.4 10 30 6 5 -
Unit V V V V V V
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
V V V V V V A A mA mA pF k
SC16C654/654D
LOW-level input leakage current clock leakage supply current sleep current[2] input capacitance internal pull-up resistance[3]
1 -
1 -
1 -
Except x2, VOL = 1 V typical. When using crystal oscillator. The use of an external clock will increase the sleep current. Refer to Table 2 "Pin description" on page 7 for a listing of pins having internal pull-up resistors.
34 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
10. Dynamic characteristics
Table 28: AC electrical characteristics Tamb = -40 C to +85 C; VCC = 2.5 V, 3.3 V or 5.0 V 10%, unless otherwise specified. Symbol t1w, t2w t3w t6s t6h t7d t7w t7h t9d t12d t12h t13d t13w t13h t15d t16s t16h t17d t18d t19d t20d t21d t22d t23d t24d t25d t26d t27d t28d t30s t30w t30h t30d t31d t31h t32s t32h
9397 750 11617
Parameter clock pulse duration oscillator/clock frequency address set-up time address hold time IOR delay from chip select IOR strobe width chip select hold time from IOR read cycle delay delay from IOR to data data disable time IOW delay from chip select IOW strobe width chip select hold time from IOW write cycle delay data set-up time data hold time delay from IOW to output delay to set interrupt from Modem input delay to reset interrupt from IOR delay from stop to set interrupt delay from IOR to reset interrupt delay from start to set interrupt delay from IOW to transmit start delay from IOW to reset interrupt delay from stop to set RXRDY delay from IOR to reset RXRDY delay from IOW to set TXRDY delay from start to reset TXRDY address set-up time chip select strobe width address hold time read cycle delay delay from CS to data data disable time write strobe set-up time write strobe hold time
Conditions Min 10
[1]
2.5 V Max 48 77 15 100 100 100 1 100 100 24 100 1 100 100 8 90 15 Min 6 0 0 10 26 0 20 10 20 0 25 20 5 8 10 26 15 20 10 10
3.3 V Max 80 26 15 33 24 24 1 29 45 24 45 1 45 45 8 26 15 0 0 10 23 0 20 10 15 0 20 15 5 8 10 23 15 20 10 10 Min 6
5.0 V Max 80 23 15 29 23 23 1 28 40 24 40 1 40 40 8 23 15 -
Unit ns MHz ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Rclk ns ns Rclk ns Rclk ns ns Rclk ns ns ns ns ns ns ns ns
0 0 10
25 pF load 25 pF load 25 pF load 25 pF load
[2]
77 0 20 10 20 0
[3]
25 20 15
25 pF load 25 pF load 25 pF load 25 pF load
8 10
25 pF load 25 pF load 25 pF load 25 pF load
[1]
90 15 20 10 10
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
35 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Table 28: AC electrical characteristics...continued Tamb = -40 C to +85 C; VCC = 2.5 V, 3.3 V or 5.0 V 10%, unless otherwise specified. Symbol t32d t33s t33h tRESET N
[1] [2]
Parameter write cycle delay data set-up time data hold time Reset pulse width baud rate divisor
Conditions Min
[3]
2.5 V Max 216 -1 Min 25 15 5 40 1 25 20 15 200 1
3.3 V Max 216 -1 Min 20 15 5 40 1
5.0 V Max 216 -1
Unit ns ns ns ns Rclk
Applies to external clock, crystal oscillator max 24 MHz.
1 IOWstrobe max = ------------------------------------2 ( Baudrate max )
= 333 ns (for Baudratemax = 1.5 Mbits/s) = 1 s (for Baudratemax = 460.8 kbits/s) = 4 s (for Baudratemax = 115.2 kbits/s)
[3]
When in both DMA mode 0 and FIFO enable mode, the write cycle delay should be larger than one x1, clock cycle.
10.1 Timing diagrams
A0-A4 t30h t30d
t30s
t30w
CS
t32s
t31h
R/W
t31d
D0-D7
002aaa210
Fig 9. General read timing in 68 mode.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
36 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
A0-A4
t30s
t30w
t30h
CS
t32s
t32h
t32d
R/W
t33s
t33h
D0-D7
002aaa211
Fig 10. General write timing in 68 mode.
t6h
A0-A2
VALID ADDRESS
t6s
t13h
CS
ACTIVE
t13d t13w
t15d
IOW
ACTIVE
t16s
t16h
D0-D7
DATA
002aaa171
Fig 11. General write timing in 16 mode.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
37 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
t6h
A0-A2
VALID ADDRESS
t6s
t7h
CS
ACTIVE
t7d t7w
t9d
IOR
ACTIVE
t12d
t12h
D0-D7
DATA
002aaa172
Fig 12. General read timing in 16 mode.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
38 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
IOW
ACTIVE
t17d
RTS DTR
CHANGE OF STATE
CHANGE OF STATE
CD CTS DSR t18d t18d CHANGE OF STATE CHANGE OF STATE
INT
ACTIVE
ACTIVE
ACTIVE
t19d
IOR
ACTIVE
ACTIVE
ACTIVE
t18d
RI
CHANGE OF STATE
002aaa352
Fig 13. Modem input/output timing.
t 2w
t 1w
EXTERNAL CLOCK
t 3w
002aaa112
Fig 14. External clock timing.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
39 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
NEXT DATA START BIT
RX
D0
D1
D2
D3
D4
D5
D6
D7
5 DATA BITS
6 DATA BITS t20d 7 DATA BITS INT ACTIVE
t21d
IOR
ACTIVE
16 BAUD RATE CLOCK
002aaa113
Fig 15. Receive timing.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
40 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
NEXT DATA START BIT
RX
D0
D1
D2
D3
D4
D5
D6
D7
t25d ACTIVE DATA READY t26d
RXRDY
IOR
ACTIVE
002aaa114
Fig 16. Receive ready timing in non-FIFO mode.
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
RX
D0
D1
D2
D3
D4
D5
D6
D7
FIRST BYTE THAT REACHES THE TRIGGER LEVEL
t25d ACTIVE DATA READY t26d
RXRDY
IOR
ACTIVE
002aaa115
Fig 17. Receive ready timing in FIFO mode.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
41 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
NEXT DATA START BIT
TX
D0
D1
D2
D3
D4
D5
D6
D7
5 DATA BITS
6 DATA BITS
7 DATA BITS
INT
ACTIVE TX READY
t22d t23d IOW ACTIVE
t24d
ACTIVE
16 BAUD RATE CLOCK
002aaa116
Fig 18. Transmit timing.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
42 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
START BIT
DATA BITS (58) D0 D1 D2 D3 D4 D5 D6 D7
PARITY BIT
STOP BIT
NEXT DATA START BIT
TX
IOW
ACTIVE
TRANSMITTER READY
D0D7
BYTE #1 t28d t27d
TXRDY
ACTIVE TRANSMITTER NOT READY ===!"#
Fig 19. Transmit ready timing in non-FIFO mode.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
43 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
TX
D0
D1
D2
D3
D4
D5
D6
D7
5 DATA BITS
6 DATA BITS
7 DATA BITS
IOW
ACTIVE
t28d
D0-D7
BYTE #16
t27d
TXRDY
FIFO FULL
002aaa346
Fig 20. Transmit ready timing in FIFO mode (DMA mode `1').
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
44 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
UART FRAME START DATA BITS STOP 1 1 0 1 1/2 BIT TIME 3/16 BIT TIME
002aaa212
TX DATA
0
1
0
1
0
0
IRTXA-IRTXD TX BIT TIME
Fig 21. Infrared transmit timing.
IRRXA-IRRXD RX BIT TIME
0-1 16X CLOCK DELAY
RX DATA
0 START
1
0
1
0
0
1
1
0
1 STOP
002aaa213
DATA BITS
UART FRAME
Fig 22. Infrared receive timing.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
45 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
11. Package outline
PLCC68: plastic leaded chip carrier; 68 leads SOT188-2
eD y 60 61 X 44 43 Z E A
eE
bp b1 wM
68
1
pin 1 index e
E
HE A A4 A1 (A 3) Lp detail X
k
9
27
10 e D HD
26 ZD B
vM A
vMB 0 5 scale 10 mm
DIMENSIONS (mm dimensions are derived from the original inch dimensions) A4 A1 UNIT A D(1) E(1) e HD A3 eD eE bp b1 max. min.
mm inches 4.57 4.19 0.51 0.25 0.01 3.3 0.53 0.33 0.81 0.66
HE
k
Lp
1.44 1.02
v
0.18
w
0.18
y
0.1
ZD(1) ZE(1) max. max.
2.16 2.16
23.62 23.62 25.27 25.27 1.22 24.33 24.33 1.27 22.61 22.61 25.02 25.02 1.07 24.13 24.13 0.93 0.89 0.93 0.89
45 o
0.180 0.02 0.165
0.021 0.032 0.958 0.958 0.05 0.13 0.013 0.026 0.950 0.950
0.995 0.995 0.048 0.057 0.007 0.007 0.004 0.085 0.085 0.985 0.985 0.042 0.040
Note 1. Plastic or metal protrusions of 0.25 mm (0.01 inch) maximum per side are not included. OUTLINE VERSION SOT188-2 REFERENCES IEC 112E10 JEDEC MS-018 JEITA EDR-7319 EUROPEAN PROJECTION
ISSUE DATE 99-12-27 01-11-14
Fig 23. PLCC68 package outline (SOT188-2).
9397 750 11617 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
46 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
LQFP64: plastic low profile quad flat package; 64 leads; body 10 x 10 x 1.4 mm
SOT314-2
c
y X A 48 49 33 32 ZE
e E HE wM bp 64 1 pin 1 index 16 ZD bp D HD wM B vM B vM A 17 detail X L Lp A A2 A1 (A 3)
e
0
2.5 scale
5 mm
DIMENSIONS (mm are the original dimensions) UNIT mm A max. 1.6 A1 0.20 0.05 A2 1.45 1.35 A3 0.25 bp 0.27 0.17 c 0.18 0.12 D (1) 10.1 9.9 E (1) 10.1 9.9 e 0.5 HD HE L 1 Lp 0.75 0.45 v 0.2 w 0.12 y 0.1 Z D (1) Z E (1) 1.45 1.05 1.45 1.05 7 0o
o
12.15 12.15 11.85 11.85
Note 1. Plastic or metal protrusions of 0.25 mm maximum per side are not included. OUTLINE VERSION SOT314-2 REFERENCES IEC 136E10 JEDEC MS-026 JEITA EUROPEAN PROJECTION
ISSUE DATE 00-01-19 03-02-25
Fig 24. LQFP64 package outline (SOT314-2).
9397 750 11617 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
47 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
12. Soldering
12.1 Introduction to soldering surface mount packages
This text gives a very brief insight to a complex technology. A more in-depth account of soldering ICs can be found in our Data Handbook IC26; Integrated Circuit Packages (document order number 9398 652 90011). There is no soldering method that is ideal for all IC packages. Wave soldering can still be used for certain surface mount ICs, but it is not suitable for fine pitch SMDs. In these situations reflow soldering is recommended. In these situations reflow soldering is recommended.
12.2 Reflow soldering
Reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. Driven by legislation and environmental forces the worldwide use of lead-free solder pastes is increasing. Several methods exist for reflowing; for example, convection or convection/infrared heating in a conveyor type oven. Throughput times (preheating, soldering and cooling) vary between 100 and 200 seconds depending on heating method. Typical reflow peak temperatures range from 215 to 270 C depending on solder paste material. The top-surface temperature of the packages should preferably be kept:
* below 220 C (SnPb process) or below 245 C (Pb-free process)
- for all BGA and SSOP-T packages - for packages with a thickness 2.5 mm - for packages with a thickness < 2.5 mm and a volume 350 mm3 so called thick/large packages.
* below 235 C (SnPb process) or below 260 C (Pb-free process) for packages with
a thickness < 2.5 mm and a volume < 350 mm3 so called small/thin packages. Moisture sensitivity precautions, as indicated on packing, must be respected at all times.
12.3 Wave soldering
Conventional single wave soldering is not recommended for surface mount devices (SMDs) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems. To overcome these problems the double-wave soldering method was specifically developed. If wave soldering is used the following conditions must be observed for optimal results:
* Use a double-wave soldering method comprising a turbulent wave with high
upward pressure followed by a smooth laminar wave.
9397 750 11617 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
48 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
* For packages with leads on two sides and a pitch (e):
- larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board; - smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. The footprint must incorporate solder thieves at the downstream end.
* For packages with leads on four sides, the footprint must be placed at a 45 angle
to the transport direction of the printed-circuit board. The footprint must incorporate solder thieves downstream and at the side corners. During placement and before soldering, the package must be fixed with a droplet of adhesive. The adhesive can be applied by screen printing, pin transfer or syringe dispensing. The package can be soldered after the adhesive is cured. Typical dwell time of the leads in the wave ranges from 3 to 4 seconds at 250 C or 265 C, depending on solder material applied, SnPb or Pb-free respectively. A mildly-activated flux will eliminate the need for removal of corrosive residues in most applications.
12.4 Manual soldering
Fix the component by first soldering two diagonally-opposite end leads. Use a low voltage (24 V or less) soldering iron applied to the flat part of the lead. Contact time must be limited to 10 seconds at up to 300 C. When using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 C.
12.5 Package related soldering information
Table 29: Package[1] BGA, LBGA, LFBGA, SQFP, SSOP-T[3], TFBGA, VFBGA DHVQFN, HBCC, HBGA, HLQFP, HSQFP, HSOP, HTQFP, HTSSOP, HVQFN, HVSON, SMS PLCC[5], SO, SOJ LQFP, QFP, TQFP SSOP, TSSOP, VSO, VSSOP
[1] [2]
Suitability of surface mount IC packages for wave and reflow soldering methods Soldering method Wave not suitable not suitable[4] Reflow[2] suitable suitable
suitable not recommended[5][6] not recommended[7]
suitable suitable suitable
For more detailed information on the BGA packages refer to the (LF)BGA Application Note (AN01026); order a copy from your Philips Semiconductors sales office. All surface mount (SMD) packages are moisture sensitive. Depending upon the moisture content, the maximum temperature (with respect to time) and body size of the package, there is a risk that internal or external package cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). For details, refer to the Drypack information in the Data Handbook IC26; Integrated Circuit Packages; Section: Packing Methods.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
49 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
These transparent plastic packages are extremely sensitive to reflow soldering conditions and must on no account be processed through more than one soldering cycle or subjected to infrared reflow soldering with peak temperature exceeding 217 C 10 C measured in the atmosphere of the reflow oven. The package body peak temperature must be kept as low as possible. These packages are not suitable for wave soldering. On versions with the heatsink on the bottom side, the solder cannot penetrate between the printed-circuit board and the heatsink. On versions with the heatsink on the top side, the solder might be deposited on the heatsink surface. If wave soldering is considered, then the package must be placed at a 45 angle to the solder wave direction. The package footprint must incorporate solder thieves downstream and at the side corners. Wave soldering is suitable for LQFP, QFP and TQFP packages with a pitch (e) larger than 0.8 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. Wave soldering is suitable for SSOP and TSSOP packages with a pitch (e) equal to or larger than 0.65 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm.
[3]
[4]
[5] [6] [7]
13. Revision history
Table 30: Rev Date 04 20030619 Revision history CPCN Description Product data (9397 750 11617); ECN 853-2377 30029 of 16 June 2003. Modifications:
* * *
03 02 01 20030415 20030313 20020910 -
Figure 6 "Crystal oscillator connection." on page 16: changed capacitors' values and added connection with resistor. Table 27 "DC electrical characteristics" on page 34: ICCsleep: change all values to 1 mA nom. Table 28 "AC electrical characteristics": add Table note 2, its reference to parameter `IOW strobe width', and re-number subsequent note.
Product data (9397 750 11373); ECN 853-2377 29798 of 11 April 2003. Product data (9397 750 10985); ECN 853-2377 29458 of 03 February 2003. Product data (9397 750 09393); ECN 853-2377 28891 of 10 September 2002.
9397 750 11617
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
50 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
14. Data sheet status
Level I II Data sheet status[1] Objective data Preliminary data Product status[2][3] Development Qualification Definition This data sheet contains data from the objective specification for product development. Philips Semiconductors reserves the right to change the specification in any manner without notice. This data sheet contains data from the preliminary specification. Supplementary data will be published at a later date. Philips Semiconductors reserves the right to change the specification without notice, in order to improve the design and supply the best possible product. This data sheet contains data from the product specification. Philips Semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. Relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN).
III
Product data
Production
[1] [2] [3]
Please consult the most recently issued data sheet before initiating or completing a design. The product status of the device(s) described in this data sheet may have changed since this data sheet was published. The latest information is available on the Internet at URL http://www.semiconductors.philips.com. For data sheets describing multiple type numbers, the highest-level product status determines the data sheet status.
15. Definitions
Short-form specification -- The data in a short-form specification is extracted from a full data sheet with the same type number and title. For detailed information see the relevant data sheet or data handbook. Limiting values definition -- Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 60134). Stress above one or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended periods may affect device reliability. Application information -- Applications that are described herein for any of these products are for illustrative purposes only. Philips Semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or modification.
16. Disclaimers
Life support -- These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Philips Semiconductors customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application. Right to make changes -- Philips Semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. When the product is in full production (status `Production'), relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN). Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no licence or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified.
Contact information
For additional information, please visit http://www.semiconductors.philips.com. For sales office addresses, send e-mail to: sales.addresses@www.semiconductors.philips.com.
9397 750 11617
Fax: +31 40 27 24825
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 -- 19 June 2003
51 of 52
Philips Semiconductors
SC16C654/654D
Quad UART with 64-byte FIFO and infrared (IrDA) encoder/decoder
Contents
1 2 3 4 5 5.1 5.1.1 5.1.2 5.2 6 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 6.10 6.11 6.12 6.13 6.14 7 7.1 7.2 7.2.1 7.2.2 7.3 7.3.1 7.3.2 7.4 7.5 7.6 7.7 7.8 7.9 7.10 7.11 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Ordering information . . . . . . . . . . . . . . . . . . . . . 2 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pinning information . . . . . . . . . . . . . . . . . . . . . . 5 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 PLCC68 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 LQFP64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7 Functional description . . . . . . . . . . . . . . . . . . 11 Interface options . . . . . . . . . . . . . . . . . . . . . . . 12 The 16 mode interface . . . . . . . . . . . . . . . . . . 12 The 68 mode interface . . . . . . . . . . . . . . . . . . 12 Internal registers. . . . . . . . . . . . . . . . . . . . . . . 13 FIFO operation . . . . . . . . . . . . . . . . . . . . . . . . 13 Hardware flow control . . . . . . . . . . . . . . . . . . . 14 Software flow control . . . . . . . . . . . . . . . . . . . 14 Special feature software flow control . . . . . . . 15 Xon any feature . . . . . . . . . . . . . . . . . . . . . . . 15 Hardware/software and time-out interrupts. . . 15 Programmable baud rate generator . . . . . . . . 16 DMA operation . . . . . . . . . . . . . . . . . . . . . . . . 18 Sleep mode. . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Loop-back mode . . . . . . . . . . . . . . . . . . . . . . . 18 Register descriptions . . . . . . . . . . . . . . . . . . . 20 Transmit (THR) and Receive (RHR) Holding Registers . . . . . . . . . . . . . . . . . . . . . 21 Interrupt Enable Register (IER) . . . . . . . . . . . 21 IER versus Receive FIFO interrupt mode operation . . . . . . . . . . . . . . . . . . . . . . . 22 IER versus Receive/Transmit FIFO polled mode operation . . . . . . . . . . . . . . . . . . . . . . . 22 FIFO Control Register (FCR) . . . . . . . . . . . . . 23 DMA mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 FIFO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Interrupt Status Register (ISR) . . . . . . . . . . . . 25 Line Control Register (LCR) . . . . . . . . . . . . . . 26 Modem Control Register (MCR) . . . . . . . . . . . 27 Line Status Register (LSR) . . . . . . . . . . . . . . . 29 Modem Status Register (MSR). . . . . . . . . . . . 30 Scratchpad Register (SPR) . . . . . . . . . . . . . . 31 Enhanced Feature Register (EFR) . . . . . . . . . 31 SC16C654/654D external reset conditions. . . 33 8 9 10 10.1 11 12 12.1 12.2 12.3 12.4 12.5 13 14 15 16 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . Static characteristics . . . . . . . . . . . . . . . . . . . Dynamic characteristics . . . . . . . . . . . . . . . . . Timing diagrams. . . . . . . . . . . . . . . . . . . . . . . Package outline . . . . . . . . . . . . . . . . . . . . . . . . Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to soldering surface mount packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reflow soldering. . . . . . . . . . . . . . . . . . . . . . . Wave soldering. . . . . . . . . . . . . . . . . . . . . . . . Manual soldering . . . . . . . . . . . . . . . . . . . . . . Package related soldering information . . . . . . Revision history . . . . . . . . . . . . . . . . . . . . . . . Data sheet status. . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 34 35 36 46 48 48 48 48 49 49 50 51 51 51
(c) Koninklijke Philips Electronics N.V. 2003. Printed in the U.S.A
All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. Date of release: 19 June 2003 Document order number: 9397 750 11617


▲Up To Search▲   

 
Price & Availability of SC16C654DIB64

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X